package com.lck.blogmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lck.blogmanager.entity.UserEntity;
import com.lck.blogmanager.req.UserInfoPageReq;
import com.lck.blogmanager.res.UserInfoPageRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
    Page<UserInfoPageRes> userInfoPage(@Param("req") UserInfoPageReq req, Page page);
}
